/// currentTime : 1626838036852
/// data : [{"context":"tianjia内容","createTime":1626838036,"def":0,"id":"60f794146ef8d850efb95a4c","status":1,"type":1,"updateTime":0,"userId":10000005}]
/// resultCode : 1

class CommonLanguageModel {
  int currentTime;
  List<CommonLanguageBean> data;
  int resultCode;

  CommonLanguageModel({
      this.currentTime, 
      this.data, 
      this.resultCode});

  CommonLanguageModel.fromJson(dynamic json) {
    currentTime = json["currentTime"];
    if (json["data"] != null) {
      data = [];
      json["data"].forEach((v) {
        data.add(CommonLanguageBean.fromJson(v));
      });
    }
    resultCode = json["resultCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["currentTime"] = currentTime;
    if (data != null) {
      map["data"] = data.map((v) => v.toJson()).toList();
    }
    map["resultCode"] = resultCode;
    return map;
  }

}

/// context : "tianjia内容"
/// createTime : 1626838036
/// def : 0
/// id : "60f794146ef8d850efb95a4c"
/// status : 1
/// type : 1
/// updateTime : 0
/// userId : 10000005

class CommonLanguageBean {
  String context;
  int createTime;
  int def;
  String id;
  int status;
  int type;
  int updateTime;
  int userId;
  String cwordsId;

  CommonLanguageBean({
      this.context, 
      this.createTime, 
      this.def, 
      this.id, 
      this.status, 
      this.type, 
      this.updateTime, 
      this.cwordsId,
      this.userId});

  CommonLanguageBean.fromJson(dynamic json) {
    context = json["context"];
    createTime = json["createTime"];
    def = json["def"];
    id = json["id"];
    status = json["status"];
    type = json["type"];
    updateTime = json["updateTime"];
    userId = json["userId"];
    cwordsId = json["cwordsId"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["context"] = context;
    map["createTime"] = createTime;
    map["def"] = def;
    map["id"] = id;
    map["status"] = status;
    map["type"] = type;
    map["updateTime"] = updateTime;
    map["userId"] = userId;
    map["cwordsId"] = cwordsId;
    return map;
  }

}